package com.ddwl.schema.bo.goods;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.Instant;
import java.util.List;

/**
 * 限时抢购商品
 * @author wenbin
 */
@Data
@ApiModel("限时抢购商品")
public class QueryLimitTimePurGoodBo {

    @ApiModelProperty(value = "id")
    private String id;
    @ApiModelProperty(value = "门店id")
    private String shopId;

    @ApiModelProperty(value = "秒杀活动Id")
    private String limitActiveId;

    @ApiModelProperty("商品id")
    private String itemId;

    @ApiModelProperty("商品id列表")
    private List<String> itemIds;

    @ApiModelProperty("商品名称")
    private String itemName;

    @ApiModelProperty(value = "开始时间")
    private Instant startTime;

    @ApiModelProperty(value = "结束时间")
    private Instant endTime;
    @ApiModelProperty(value = "商品编码")
    private String barcode;

    @ApiModelProperty(value = "商品编码")
    private List<String> barcodes;

    @ApiModelProperty(value = "是否启用,0否 1是")
    private Integer isEffect;
    @ApiModelProperty(value = "是否当前活动",hidden = true)
    private Instant isNow;

}

